package com.wx.mall.order.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 订单配置
 * </p>
 *
 * @author j
 * @since 2020-04-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ord_order_config")
@ApiModel(value="OrderConfig对象", description="订单配置")
public class OrderConfig implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "正常订单超时时间（分）")
    private Integer orderTimeout;

    @ApiModelProperty(value = "秒杀订单超时时间（分）")
    private Integer seckillTimeout;

    @ApiModelProperty(value = "自动收货（天）")
    private Integer takeTimeout;

    @ApiModelProperty(value = "售后期限")
    private Integer serviceTimeout;

    @ApiModelProperty(value = "自动五星好评")
    private Integer commentTimeout;


}
